package com.dream.model.base;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 
 * @author Evan
 * @date 2013-8-25
 * 
 */
@MappedSuperclass
public abstract class AppModelBase implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -707596132884058695L;

	@Column(name="create_time")
	@Temporal(TemporalType.TIMESTAMP)
	private Date createTime ;
	
	@Column(name="create_user")
	private String createUser;

	@Column(name="update_time")
	@Temporal(TemporalType.TIMESTAMP)
	private Date updateTime;
	
	@Column(name="update_user")
	private String updateUser ;
	
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

}
